import request from '@/utils/request'
const MODEL_NAME = '/proscenium/module-picture'
export function getAllPicture(moduleId) {
  return request({
    url: `${MODEL_NAME}/${moduleId}`,
    method: 'get'
    
  })
}
export function addByModuleId(modulePictures,moduleId){ 
  return request({ 
    url:`${MODEL_NAME}/${moduleId}`,
    method: 'post',
    data: modulePictures
    
  })
}